<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<head>
<base href="<%=basePath%>"/>

<title>soda教育</title>
<link href="qiantai/css/style.css" type="text/css" rel="stylesheet" />
<link href="qiantai/css/single.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="qiantai/js/banner3.js" charset="utf-8"></script>
</head>

<body>
	<iframe style="width:100%;height:236px" scrolling="no" frameborder="0"
		src="qiantai/header.jsp"></iframe>

	<div class="content">

		<div class="clear"></div>
		<div class="buyDiv">

			<div class="buyHeader">
				<h1>登录</h1>
				
				<form action="<%=request.getContextPath() %>/QianLoginServlet?method=login" method="post" onsubmit="return ckloginall()">
					<div class="innerDiv" onclick="history.back();">返 回</div>
					<div class="innerDiv">
						<input type="submit" value="登录"
							style=" border: none; background: none; 
         color: white; line-height:24px;cursor:pointer;" />
					</div>
			</div>
		</div>

		<div class="loginBody">
			<fieldset class="registField">
				<legend style="color:#DE3237;" align="left">登录</legend>

				<table class="registTable">
					<tr>
						<td align="right" style="width:30%;" >用户名</td>
						<td></td>
						<td align="left"><input type="text" id="uname" name="uname" onblur="ckloginuname()"/>
						<span id="spuname"></span></td>
						
					</tr>
					<tr>
						<td align="right" >密码</td>
						<td></td>
						<td align="left"><input type="password" id="pwd" name="pwd" onblur="ckloginpwd()"/>
						<span id="sppwd"></span></td>

					</tr>
					<tr>
						<td align="right">验证码</td>
						<td></td>
						<td align="left"><input type="text" name="yan" id="yan"/>
						<img src="<%=request.getContextPath() %>/ImgServlet" id="yanzheng"/><a href="javascript:huan()">看不清换一张</a>
						<span id="spyan"></span></td>
					</tr>
				</table>
				</form>
			</fieldset>
		</div>
	</div>
	<div class="clear"></div>
	<!--清除浮动-->
	</div>
	<!--content end-->



	<div class="footer">
		<ul>


			<li class="li_left">地址：北京海淀区成府路**号</li>
			<li class="li_right">联系电话：010-82365636</li>
		</ul>
	</div>
	<!--footer end-->
	<div style="display:none">
		<script src='http://v7.cnzz.com/stat.php?id=155540&web_id=155540'
			language='JavaScript' charset='gb2312'></script>
	</div>
</body>
</html>